package com.umbr3lla.ui;

import java.awt.CardLayout;
import java.awt.GridLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;

import com.umbr3lla.main.state.cards.Card;
import com.umbr3lla.main.state.cards.CardUtils;

public class GameBoard extends JPanel {

	public GameBoard()
	{
		this.setLayout(new GridLayout(1, 3));
		
		Card c1 = new Card(CardUtils.loadImage("card_images/base/ac-001.jpg"),"my card", "weapon", "0", 1, -1);
		Card c2 = new Card(CardUtils.loadImage("card_images/base/we-011.jpg"), "my card2", "weapon", "0", 1, -1);
		Card c3 = new Card(CardUtils.loadImage("card_images/base/we-014.jpg"), "my card3", "weapon", "0", 1, -1);
		
		this.add(c1);
		this.add(c2);
		this.add(c3);
		
		JFrame f = new JFrame();
		f.setSize(1000,1000);
		f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		f.add(this);
		
		f.setVisible(true);
		
	}
	
	
	
}
